package com.qianyu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qianyu.entity.bean.QunMember;
import com.qianyu.entity.vo.QqMemberVo;
import com.qianyu.entity.vo.QunMemberKeepQhVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface QunMemberMapper extends BaseMapper<QunMember> {
    /**
     * 加群取号 加缓存
     */

    List<QqMemberVo> joinQun(@Param("time") String time);

    /**
     * 加群取号
     */
    QqMemberVo joinQunOne(@Param("time") String time);

    /**
     * 保持取号
     */
    List<QunMemberKeepQhVo> keepQh(@Param("time") String time,@Param("getTime")String getTime);

    /**
     * 保持取号
     */
    QunMemberKeepQhVo keepQhOne(@Param("time") String time,@Param("getTime")String getTime);
}
